package com.dd.census.mapper;

import com.dd.census.entity.AttendanceDetails;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * Mapper层接口
 * AttendanceMapper
 * @author whn
 * @date 2021/02/20
 */
@Mapper
public interface AttendanceDetailsMapper {

    /**
     * [新增]
     **/
    int insert(List<AttendanceDetails> attendance);

    /**
     * [批量新增]
     **/
    int batchInsert(List<AttendanceDetails> list);

    /**
     * [更新]
     **/
    int update(AttendanceDetails attendance);

    /**
     * [删除]
     **/
    int delete(AttendanceDetails attendance);

    /**
     * [批量删除]
     **/
    int batchDelete(List<AttendanceDetails> list);

    /**
     * [条件查询]
     **/
    List<AttendanceDetails> selectList (AttendanceDetails attendance);
}